package com.platform.provider.service.impl;

import com.platform.common.bean.User;
import com.platform.provider.mapper.UserMapper;
import com.platform.provider.service.QueryUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class QueryUserInfoServiceImpl implements QueryUserInfoService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public User queryUserInfo(int userId) {
        return userMapper.selectByPrimaryKey(userId);
        //return "test";
    }
}
